2130c9defd03a15c9480c511a6da724d74f63db4,genie-web/src/test/java/com/netflix/genie/web/controllers/ApplicationRestControllerIntegrationTests.java,ApplicationRestControllerIntegrationTests,canGetCommandsForApplication,#,759
Before Change
MockMvcRequestBuilders
.post(COMMANDS_API + "/" + command3Id + "/applications")
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsBytes(appIds))
)
.andExpect(MockMvcResultMatchers.status().isNoContent());
After Change
MockMvcRequestBuilders
.post(COMMANDS_API + "/" + command1Id + "/applications")
.contentType(MediaType.APPLICATION_JSON)
.content(this.objectMapper.writeValueAsBytes(appIds))
)
.andExpect(MockMvcResultMatchers.status().isNoContent());
this.mvc